package com.xdb.presistence.kv;

public class PrimaryKey {
	String [] pk;

	public PrimaryKey() {
		super();
	}

	public PrimaryKey(String[] pk) {
		if(pk == null){
			throw new NullPointerException("必须指定主键");
		}else{			
			this.pk = pk;
		}
	}

	public String[] getPk() {
		return pk;
	}

	public void setPk(String[] pk) {
		this.pk = pk;
	}
	
}
